package com.rmb.common.exception;

import com.rmb.common.model.response.ResultCode;

/**
 * @version 1.0
 * @Author ZhaoMuYang
 * @Date 2021/1/21 9:08
 */
public class BindException {
    /**
     * 自定义校验错误代码异常
     * 错误代码 resultCode
     */
    ResultCode resultCode;

    public BindException(ResultCode resultCode){
        this.resultCode = resultCode;
    }

    public ResultCode getResultCode(){
        return resultCode;
    }
}
